/**
 * 
 */
package com.eis.admin.mvc.bean;

import java.io.Serializable;
import java.util.List;

import com.eis.function.out.rule.model.FilterRule;

/**
 * @author sh-panwei01
 *
 */
public class FilterRuleEditBean implements Serializable {
	private static final long serialVersionUID = -7949466371833321122L;

	private int bizGroupId;
	private String bizGroupName;
	private String functionId;
	private String functionName;
	private List<FilterRule> filterRules;
	private String operation;
	private String newRuleFieldName;
	private String newRuleComparator;
	private String newRuleValue;
	private String updateRuleFieldName;
	private String updateRuleComparator;
	private String updateRuleValue;
	private String operation1;
	private String operation2;
	private String operationRuleId;
	private String editRuleId;
	private int editAble = 0;

	public int getBizGroupId() {
		return bizGroupId;
	}
	public void setBizGroupId(int bizGroupId) {
		this.bizGroupId = bizGroupId;
	}
	public String getFunctionId() {
		if (functionId != null) {
			return functionId.trim();
		} else {
			return null;
		}
	}
	public void setFunctionId(String functionId) {
		this.functionId = functionId;
	}
	public String getBizGroupName() {
		return bizGroupName;
	}
	public void setBizGroupName(String bizGroupName) {
		this.bizGroupName = bizGroupName;
	}
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	public List<FilterRule> getFilterRules() {
		return filterRules;
	}
	public void setFilterRules(List<FilterRule> filterRules) {
		this.filterRules = filterRules;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public String getNewRuleFieldName() {
		return newRuleFieldName;
	}
	public void setNewRuleFieldName(String newRuleFieldName) {
		this.newRuleFieldName = newRuleFieldName;
	}
	public String getNewRuleComparator() {
		return newRuleComparator;
	}
	public void setNewRuleComparator(String newRuleComparator) {
		this.newRuleComparator = newRuleComparator;
	}
	public String getNewRuleValue() {
		return newRuleValue;
	}
	public void setNewRuleValue(String newRuleValue) {
		this.newRuleValue = newRuleValue;
	}
	public String getOperation1() {
		return operation1;
	}
	public void setOperation1(String operation1) {
		this.operation1 = operation1;
	}
	public String getOperationRuleId() {
		return operationRuleId;
	}
	public void setOperationRuleId(String operationRuleId) {
		this.operationRuleId = operationRuleId;
	}
	public String getUpdateRuleFieldName() {
		return updateRuleFieldName;
	}
	public void setUpdateRuleFieldName(String updateRuleFieldName) {
		this.updateRuleFieldName = updateRuleFieldName;
	}
	public String getUpdateRuleComparator() {
		return updateRuleComparator;
	}
	public void setUpdateRuleComparator(String updateRuleComparator) {
		this.updateRuleComparator = updateRuleComparator;
	}
	public String getUpdateRuleValue() {
		return updateRuleValue;
	}
	public void setUpdateRuleValue(String updateRuleValue) {
		this.updateRuleValue = updateRuleValue;
	}
	public String getOperation2() {
		return operation2;
	}
	public void setOperation2(String operation2) {
		this.operation2 = operation2;
	}
	public String getEditRuleId() {
		return editRuleId;
	}
	public void setEditRuleId(String editRuleId) {
		this.editRuleId = editRuleId;
	}
	public int getEditAble() {
		return editAble;
	}
	public void setEditAble(int editAble) {
		this.editAble = editAble;
	}
	
}
